<template>
  <CrudTable :columns="columns" :api="api" />
</template>
<script setup>
import CrudTable from '@/components/CrudTable.vue'
import * as api from '@/api/repairorder'
const columns = [
  { prop: 'id', label: '工单ID' },
  { prop: 'userId', label: '用户ID' },
  { prop: 'description', label: '故障描述' },
  { prop: 'reportTime', label: '报修时间' },
  { prop: 'status', label: '状态' },
  { prop: 'repairUserId', label: '维修人员ID' },
  { prop: 'assignTime', label: '分配时间' }
]
</script>